package org.cuit.lmq.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.cuit.lmq.constants.enums.BodyStatusEnum;
import org.cuit.lmq.domain.po.BodyInfo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author Seon
 * @since 2023-03-03
 */
public interface BodyInfoService extends IService<BodyInfo> {
    /**
     * 身体数据信息统计图
     *
     * @return
     */
    Map<String, List<List<String>>> statisticsBodyInfo();

    /**
     * 统计身体极值信息
     *
     * @return
     */
    Map<String, String> peakBodyInfo();

    /**
     * 获取用户的身体状态
     *
     * @param bodyInfo
     * @return
     */
    BodyStatusEnum judgeBodyStatus(BodyInfo bodyInfo);
}
